import * as PIXI from 'pixi.js'
export const categoryText = (text: string): PIXI.Text => {
  return new PIXI.Text({
    text,
    style: {
      fontSize: 52,
      fontFamily: 'RZFont',
      fill: new PIXI.FillGradient({
        type: 'linear',
        colorStops: [
          { offset: 0, color: '#ffffff' },
          { offset: 0.3, color: '#ffffff' },
          { offset: 1, color: '#CCCC6B' },
        ],
      }),
      align: 'center',
      stroke: {
        color: '#4A4630',
        width: 12,
        join: 'round',
        cap: 'round',
      },
    },
  })
}
